﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000801 RID: 2049
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRogueShopMiracleInfoCsReq : IMessage<GetRogueShopMiracleInfoCsReq>, IMessage, IEquatable<GetRogueShopMiracleInfoCsReq>, IDeepCloneable<GetRogueShopMiracleInfoCsReq>, IBufferMessage
	{
		// Token: 0x17001A01 RID: 6657
		// (get) Token: 0x06005BDF RID: 23519 RVA: 0x000F6549 File Offset: 0x000F4749
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRogueShopMiracleInfoCsReq> Parser
		{
			get
			{
				return GetRogueShopMiracleInfoCsReq._parser;
			}
		}

		// Token: 0x17001A02 RID: 6658
		// (get) Token: 0x06005BE0 RID: 23520 RVA: 0x000F6550 File Offset: 0x000F4750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRogueShopMiracleInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001A03 RID: 6659
		// (get) Token: 0x06005BE1 RID: 23521 RVA: 0x000F6562 File Offset: 0x000F4762
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRogueShopMiracleInfoCsReq.Descriptor;
			}
		}

		// Token: 0x06005BE2 RID: 23522 RVA: 0x000F6569 File Offset: 0x000F4769
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopMiracleInfoCsReq()
		{
		}

		// Token: 0x06005BE3 RID: 23523 RVA: 0x000F6571 File Offset: 0x000F4771
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopMiracleInfoCsReq(GetRogueShopMiracleInfoCsReq other) : this()
		{
			this.monsterId_ = other.monsterId_;
			this.pUNKLORDOPERATIONREFRESH_ = other.pUNKLORDOPERATIONREFRESH_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005BE4 RID: 23524 RVA: 0x000F65A2 File Offset: 0x000F47A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopMiracleInfoCsReq Clone()
		{
			return new GetRogueShopMiracleInfoCsReq(this);
		}

		// Token: 0x17001A04 RID: 6660
		// (get) Token: 0x06005BE5 RID: 23525 RVA: 0x000F65AA File Offset: 0x000F47AA
		// (set) Token: 0x06005BE6 RID: 23526 RVA: 0x000F65B2 File Offset: 0x000F47B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x17001A05 RID: 6661
		// (get) Token: 0x06005BE7 RID: 23527 RVA: 0x000F65BB File Offset: 0x000F47BB
		// (set) Token: 0x06005BE8 RID: 23528 RVA: 0x000F65C3 File Offset: 0x000F47C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool PUNKLORDOPERATIONREFRESH
		{
			get
			{
				return this.pUNKLORDOPERATIONREFRESH_;
			}
			set
			{
				this.pUNKLORDOPERATIONREFRESH_ = value;
			}
		}

		// Token: 0x06005BE9 RID: 23529 RVA: 0x000F65CC File Offset: 0x000F47CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRogueShopMiracleInfoCsReq);
		}

		// Token: 0x06005BEA RID: 23530 RVA: 0x000F65DA File Offset: 0x000F47DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRogueShopMiracleInfoCsReq other)
		{
			return other != null && (other == this || (this.MonsterId == other.MonsterId && this.PUNKLORDOPERATIONREFRESH == other.PUNKLORDOPERATIONREFRESH && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005BEB RID: 23531 RVA: 0x000F6618 File Offset: 0x000F4818
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			if (this.PUNKLORDOPERATIONREFRESH)
			{
				num ^= this.PUNKLORDOPERATIONREFRESH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005BEC RID: 23532 RVA: 0x000F6670 File Offset: 0x000F4870
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005BED RID: 23533 RVA: 0x000F6678 File Offset: 0x000F4878
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005BEE RID: 23534 RVA: 0x000F6684 File Offset: 0x000F4884
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.MonsterId);
			}
			if (this.PUNKLORDOPERATIONREFRESH)
			{
				output.WriteRawTag(64);
				output.WriteBool(this.PUNKLORDOPERATIONREFRESH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005BEF RID: 23535 RVA: 0x000F66E0 File Offset: 0x000F48E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			if (this.PUNKLORDOPERATIONREFRESH)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005BF0 RID: 23536 RVA: 0x000F672C File Offset: 0x000F492C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRogueShopMiracleInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			if (other.PUNKLORDOPERATIONREFRESH)
			{
				this.PUNKLORDOPERATIONREFRESH = other.PUNKLORDOPERATIONREFRESH;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005BF1 RID: 23537 RVA: 0x000F677C File Offset: 0x000F497C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005BF2 RID: 23538 RVA: 0x000F6788 File Offset: 0x000F4988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PUNKLORDOPERATIONREFRESH = input.ReadBool();
					}
				}
				else
				{
					this.MonsterId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400238D RID: 9101
		private static readonly MessageParser<GetRogueShopMiracleInfoCsReq> _parser = new MessageParser<GetRogueShopMiracleInfoCsReq>(() => new GetRogueShopMiracleInfoCsReq());

		// Token: 0x0400238E RID: 9102
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400238F RID: 9103
		public const int MonsterIdFieldNumber = 4;

		// Token: 0x04002390 RID: 9104
		private uint monsterId_;

		// Token: 0x04002391 RID: 9105
		public const int PUNKLORDOPERATIONREFRESHFieldNumber = 8;

		// Token: 0x04002392 RID: 9106
		private bool pUNKLORDOPERATIONREFRESH_;
	}
}
